package se.lnu.axez.shaders;

import se.lnu.axez.R;
import android.content.res.Resources;

public final class SimpleTextureVertexShader extends ResourceVertexShader {

	public SimpleTextureVertexShader(Resources resources) {
		super(resources);
	}

	@Override
	protected int getRequiredShaderFeatures() {
		return SHADER_FEATURE_ATTR_NORMAL 
				| SHADER_FEATURE_ATTR_POSITION 
				| SHADER_FEATURE_ATTR_UV 
				| SHADER_FEATURE_UNI_MV_MATRIX
				| SHADER_FEATURE_UNI_MVP_MATRIX
				| SHADER_FEATURE_UNI_NORMAL_MATRIX;
	}
	
	@Override
	protected int getResourceID() {
		return R.raw.vs_simple_texture;
	}
}
